import { createRouter, createWebHashHistory } from "vue-router";
import Home from "../views/Home.vue";
import Index from '../pages/index/index.vue';
import Select from '../pages/select/index.vue'

const routes = [
  {
    path: "/",
    name: "Home",
    component: Home
  },
  {
    path: '/index',
    name: 'Index',
    component: Index
  },
  {
    path: '/select',
    name: 'Select',
    component: Select
  },
];

const router = createRouter({
  history: createWebHashHistory('/vue3'),
  routes
});

export default router;
